package com.example.demo.bean.response;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

public class DynamicListResponse {

    private String avatar;//用户头像

    private String nickName;//用户昵称

    @JsonFormat(pattern = "yyyy-MM-dd hh:mm")
    private Date dynamicCreateTime;//动态创建时间

    private String pictureSet;//动态图片集合

    private String label;//动态标签(给动态贴标签)

    private String content;//动态文本内容

    public DynamicListResponse() {
    }

    public DynamicListResponse(String avatar, String nickName, Date dynamicCreateTime, String pictureSet, String label, String content) {
        this.avatar = avatar;
        this.nickName = nickName;
        this.dynamicCreateTime = dynamicCreateTime;
        this.pictureSet = pictureSet;
        this.label = label;
        this.content = content;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Date getDynamicCreateTime() {
        return dynamicCreateTime;
    }

    public void setDynamicCreateTime(Date dynamicCreateTime) {
        this.dynamicCreateTime = dynamicCreateTime;
    }

    public String getPictureSet() {
        return pictureSet;
    }

    public void setPictureSet(String pictureSet) {
        this.pictureSet = pictureSet;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
